<div class="tpl-page-container tpl-page-header-fixed">

    <!--左侧-->

    <div class="tpl-content-wrapper">

        <div class="tpl-portlet-components">
            <div class="portlet-title">
                <div class="caption font-green bold">
                    <span class="am-icon-code"></span> 用户列表
                </div>
            </div>
            <div class="tpl-block">
                <div class="am-g">
                    <form action="">

                    <div class="am-u-sm-12 am-u-md-2">
                        <div class="am-form-group">

                            <select data-am-selected class="sel" name="tag">

                                <option value="0" selected style="width: 150px">所有标签</option>

                                <foreach name="data" item="v">


                                    <if condition="$tag_id eq $v['tag_id'] ">
                                        <option value="{$v.tag_id}" selected>{$v.name}</option>';
                                        <else />
                                        <option value="{$v.tag_id}" >{$v.name}</option>';
                                    </if>


                                </foreach>

                            </select>


                        </div>

                    </div>

                    <div class="am-u-sm-12 am-u-md-5">

                        <input type="text" id="tel" name = "tel" placeholder="输入手机号进行搜索" style="height:36px;">
                        <input type="text" id="name" name = "username" placeholder="输入用户名进行搜索"style="height:36px;">

                                <button class="am-btn  am-btn-default am-btn-success tpl-am-btn-success am-icon-search search"
                                        type="submit"></button>

                    </div>
                    </form>
                </div>


            </div>
            <div class="am-g" id="pbox">
                <div class="am-u-sm-12">
                    <form class="am-form">
                        <table class="am-table am-table-striped am-table-hover table-main">
                            <thead>
                            <tr>
                                <th class="table-check"><input type="checkbox" class="tpl-table-fz-check"></th>
                                <th class="table-id">ID</th>
                                <th class="table-title">用户</th>
                                <th class="table-title">所属标签</th>
                                <th class="table-type">手机号</th>
                                <th class="table-author am-hide-sm-only">身份证</th>
                                <th class="table-date am-hide-sm-only">银行卡</th>
                                <th class="table-date am-hide-sm-only">创建时间</th>
                            </tr>
                            </thead>
                            <tbody id="tbox">
                            <foreach name="date" item="v">
                                <tr>
                                    <td><input type="checkbox"></td>
                                    <td>{$v.id}</td>
                                    <td><a href="{:U('Index/detail')}?id={$v.id}">{$v.aname}</a></td>
                                    <td><a href="">{$v.bname}</a></td>
                                    <td>{$v.phone}</td>
                                    <td class="am-hide-sm-only">{$v.id_card}</td>
                                    <td class="am-hide-sm-only">{$v.bank_card}</td>
                                    <td class="am-hide-sm-only">{$v.create_at|date="Y-m-d H:i:s",###}</td>
                                </tr>
                            </foreach>

                            </tbody>
                        </table>

                        <hr>

                    </form>
                    <div align="center" id="cd">{$page}</div>
                </div>
            </div>
        </div>
        <div class="tpl-alert"></div>
    </div>
</div>

</div>


<script src="__PUBLIC__/Admin/assets/js/jquery.min.js"></script>
<script src="__PUBLIC__/Admin/assets/js/amazeui.min.js"></script>
<script src="__PUBLIC__/Admin/assets/js/iscroll.js"></script>
<script src="__PUBLIC__/Admin/assets/js/app.js"></script>
</body>

</html>
